﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 完工申报行DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CompleteApplyLineDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CompleteApplyLineDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					CompleteQty=0m; 
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.CompleteApplyDTO != null) 
			{
				this.CompleteApplyDTO.DoSerializeKeyList(dict);
			}
	        			if (this.MO != null) 
			{
				this.MO.DoSerializeKeyList(dict);
			}
	        			if (this.Item != null) 
			{
				this.Item.DoSerializeKeyList(dict);
			}
	        	        			if (this.CompleteWh != null) 
			{
				this.CompleteWh.DoSerializeKeyList(dict);
			}
	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CompleteApplyLineDTOData(  ufida.u9.ait.openapi.CompleteApplyDTOData completeApplyDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData mO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData item  , System.Decimal completeQty  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData completeWh  , System.String completeDate  )
		{
			initData();
			this.CompleteApplyDTO = completeApplyDTO;
			this.MO = mO;
			this.Item = item;
			this.CompleteQty = completeQty;
			this.CompleteWh = completeWh;
			this.CompleteDate = completeDate;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 完工申报DTO
		/// 完工申报行DTO.Misc.完工申报DTO
		/// </summary>
		private ufida.u9.ait.openapi.CompleteApplyDTOData m_completeApplyDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CompleteApplyDTOData CompleteApplyDTO
		{
			get	
			{	
				return m_completeApplyDTO ;
			}
			set	
			{	
				m_completeApplyDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 生产订单
		/// 完工申报行DTO.Misc.生产订单
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_mO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData MO
		{
			get	
			{	
				return m_mO ;
			}
			set	
			{	
				m_mO = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 完工申报行DTO.Misc.料品
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_item ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Item
		{
			get	
			{	
				return m_item ;
			}
			set	
			{	
				m_item = value ;	
			}
		}
			
		

		/// <summary>
		/// 完工数量
		/// 完工申报行DTO.Misc.完工数量
		/// </summary>
		private System.Decimal m_completeQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal CompleteQty
		{
			get	
			{	
				return m_completeQty ;
			}
			set	
			{	
				m_completeQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 完工仓库
		/// 完工申报行DTO.Misc.完工仓库
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_completeWh ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CompleteWh
		{
			get	
			{	
				return m_completeWh ;
			}
			set	
			{	
				m_completeWh = value ;	
			}
		}
			
		

		/// <summary>
		/// 完工日期
		/// 完工申报行DTO.Misc.完工日期
		/// </summary>
		private System.String m_completeDate ;
		[DataMember(IsRequired=false)]
		public System.String CompleteDate
		{
			get	
			{	
				return m_completeDate ;
			}
			set	
			{	
				m_completeDate = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
												
		#endregion 
	} 	
}
